Crate shale

source ·

Modules§

Structs§

Enums§

Constants§

Traits§

  • In-memory store that offers access to intervals from a linear byte space, which is usually backed by a cached/memory-mapped pool of the accessed intervals from the underlying linear persistent store. Reads could trigger disk reads to bring data into memory, but writes will only be visible in memory (it does not write back to the disk).
  • A handle that pins and provides a readable access to a portion of the linear memory image.
  • A stored item type that can be decoded from or encoded to on-disk raw bytes. An efficient implementation could be directly transmuting to/from a POD struct. But sometimes necessary compression/decompression is needed to reduce disk I/O and facilitate faster in-memory access.
  • A persistent item storage backed by linear logical space. New items can be created and old items could be retrieved or dropped.
  • A addressed, typed, and read-writable handle for the stored item in ShaleStore. The object represents the decoded/mapped data. The implementation of ShaleStore could use ObjCache to turn a TypedView into an ObjRef.

Functions§

Type Aliases§